package com.itheima;

public class Tset {
    public static void main(String[] args) {
        Ainmal a  = new Stoudent();
        a.setNaem("杨幂");
        a.setAge(3);
        System.out.println(a.getNaem()+a.getAge());
        a.eat();
        ((Stoudent) a).show();
        ((Stoudent) a).souw();

        Stoudent s = new Stoudent();
        s.setNaem("");
        s.setAge(2);
        s.souw();
        s.eat();
        s.show();
    }
}
